<template>
	<view class="c-wrap">
		<view class="g-item" :style="[customStyle, customstyle]">
			<view class="g-item_L">
				<slot name="left"></slot>
			</view>
			<view class="g-item_R">
				<slot name="right"></slot>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			customstyle: {
				type: Object,
				default: () => {
					return {
						width: '750rpx',
						height: '100rpx'
					}
				}
			}
		},
		data() {
			return {
				customStyle: {
					backgroundColor: '#fff',
					padding: '0 30rpx',
					boxSizing: 'border-box',
					borderBottom: '1px solid #f2f2f2'
				}
			}
		},
		onLoad(options) {

		},
		methods: {

		}
	}
</script>

<style scoped lang="scss">
	.g-item {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.g-item_L {
		font-size: 30rpx;
		color: #808080;
	}

	.g-item_R {
		font-size: 30rpx;
	}
</style>
